<template>
  <el-empty
    description="糟糕，你访问的页面到外太空了"
    :image="src"
    :image-size="650"
  >
    <el-button type="primary" @click="back()">返回</el-button>
  </el-empty>
</template>

<script>
import router from "../router/index";
export default {
  methods: {
    back() {
      router.back(1);
    },
  },
  data() {
    return {
      src: require("@/static/img/_404/404.gif"),
    };
  },
};
</script>

<style lang="less" scoped></style>
